package ed.hbut.supermarket1.dto;

import ed.hbut.supermarket1.entity.Merchandise;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SaleDto {
    private Integer saleId;
    private List<MerchandiseDto> itemList; // 这里用Object暂代JSON类型，实际使用可根据JSON处理库选择合适类型，如JSONObject
    private java.math.BigDecimal salesPrice;
    private String salesState;
}
